home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20010306-20010921 / 000353_jaltman@watsun.cc.columbia.edu_Sat Sep 1 12:48:16 EDT 2001.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  41 lines

  1. Article: 12737 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman
  3. From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: if exist
  6. Date: 1 Sep 2001 02:38:45 GMT
  7. Organization: Columbia University
  8. Lines: 24
  9. Message-ID: <9mphnl$2jn$1@newsmaster.cc.columbia.edu>
  10. References: <9mp7sp0vm6@enews4.newsguy.com>
  11. NNTP-Posting-Host: watsun.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 999311925 2679 128.59.39.2 (1 Sep 2001 02:38:45 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 1 Sep 2001 02:38:45 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:12737
  16.  
  17. In article <9mp7sp0vm6@enews4.newsguy.com>,
  18. Grinder <grinder@no.spam.maam.com> wrote:
  19. : I'm re-writing an mskermit script for use with kermit-95.  It's
  20. : gone very smoothly, with the exception of one command.  Here's
  21. : the relevant portion of the script:
  22. : _____________
  23. : :CHECKCLAIM
  24. : pause 1
  25. : if exist c:\projects\rlisys\rlinsf31\cache\queue\*.zip goto
  26. : SENDCLAIM
  27. : goto SENDZERO
  28.  
  29. IF EXIST does not work with wildcards.  Instead use
  30.  
  31.   IF \Ffiles(*.zip) GOTO SENDCLAIM
  32.  
  33. \Ffiles() returns a numeric value.  0 is treated as FALSE,
  34. any other value is TRUE.
  35.  
  36.  Jeffrey Altman * Sr.Software Designer      C-Kermit 8.0 Beta available
  37.  The Kermit Project @ Columbia University   includes Secure Telnet and FTP
  38.  http://www.kermit-project.org/             using Kerberos, SRP, and 
  39.  kermit-support@kermit-project.org          OpenSSL.  SSH soon to follow.
  40.